<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>layout</title>
	<style type="text/css">
	*{
		margin: 0px;
		padding: 0px;
		}
		.box{
			width: 300px;
			height: 300px;
			background-color: pink;
			border: 5px solid blue;
			/* border: 10px solid yellow; */
			padding: 10px;
			margin: 20px;
			overflow: scroll;
			display: inline-block;
		}
		.box1{
			width: 300px;
			height: 300px;
			background-color: green;
			border: 5px solid red;
			padding: 10px;
			margin: 20px;
		}
		</style>
</head>
<body>
	<div class="box">dddddddddd</div>
	<div class="box1">ccccccccccccccccccccccccccccccccc</div>
</body>
</html>